//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.dstz.bpm.engine.action.handler.task;

import com.dstz.bpm.api.constant.ActionType;
import com.dstz.bpm.api.constant.NodeType;
import com.dstz.bpm.api.model.nodedef.BpmNodeDef;
import com.dstz.bpm.engine.action.cmd.DefualtTaskActionCmd;
import org.springframework.stereotype.Component;

@Component
public class TaskOpposeActionHandler extends AbstractTaskActionHandler<DefualtTaskActionCmd> {
   public TaskOpposeActionHandler() {
   }

   @Override
   protected void b(DefualtTaskActionCmd var1) {

   }


   @Override
   public ActionType getActionType() {
      return ActionType.OPPOSE;
   }


   public void g(DefualtTaskActionCmd actionModel) {
   }

   public int getSn() {
      return 2;
   }

   @Override
   public Boolean isSupport(BpmNodeDef nodeDef) {
      NodeType nodeType = nodeDef.getType();
      return nodeType != NodeType.USERTASK && nodeType != NodeType.SIGNTASK ? false : true;
   }

   public String getConfigPage() {
      return "/bpm/task/taskOpinionDialog.html";
   }

   public Boolean isDefault() {
      return false;
   }
}
